<template>
  <div id="radioanswer">
    <div class="r-header">
      <h3>单选题(每题5分)</h3>
    </div>
    <div class="r-body">
      <p style="height: 50px; line-height: 50px">
        第{{ this.$route.query.rid }}题:&nbsp;{{ this.$route.query.rtopic }}
      </p>
      <div
        class="choose"
        style="height: 300px; line-height: 50px; padding-left: 50px"
      >
        <label for="A">
          <input type="radio" title="a" name="choose" id="A" />A、{{
            this.$route.query.chooseA
          }} </label
        ><br />
        <label for="B">
          <input type="radio" title="b" name="choose" id="B" />B、{{
            this.$route.query.chooseB
          }} </label
        ><br />
        <label for="C">
          <input type="radio" title="c" name="choose" id="C" />C、{{
            this.$route.query.chooseC
          }} </label
        ><br />
        <label for="D">
          <input type="radio" title="d" name="choose" id="D" />D、{{
            this.$route.query.chooseD
          }}
        </label>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ruleForm: {
        resource: [], //每一道题用户输入的值
      },
    };
  },
};
</script>

<style lang="less" scoped>
#radioanswer {
  height: 100%;
  line-height: 20px;
}
</style>